package com.pattern.prototype.simple;

/**
 * @author xianyiquan
 */
public class Client {

    private Prototype prototype;

    public Client(Prototype prototype){
        this.prototype = prototype;
    }
    public Prototype startClone(Prototype concretePrototype){
        return (Prototype)concretePrototype.clone();
    }

    /**
     * 克隆
     *
     * @return 原型
     */
    public Prototype clone() {
        return null;
    }
}
